package cn.iocoder.yudao.module.wine.controller.admin.supplycount.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 酒类行情日K分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SupplyCountPageReqVO extends PageParam {

    @Schema(description = "统计配置ID", example = "16362")
    private Long configId;

    @Schema(description = "简短标题")
    private String infoTitle;

    @Schema(description = "开盘价", example = "16619")
    private BigDecimal firstPrice;

    @Schema(description = "最高价", example = "19796")
    private BigDecimal maxPrice;

    @Schema(description = "最低价", example = "6480")
    private BigDecimal minPrice;

    @Schema(description = "收盘价", example = "9546")
    private BigDecimal lastPrice;

    @Schema(description = "统计时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] countTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}